//Steve Mackey

package superConference;

import static org.junit.Assert.*;

import org.junit.Test;

public class PaperTest {
	Paper testCase = new Paper(1234, "Mackey", "The Best Paper", "/src/papers/bestPaper.txt");

	@Test
	public void testPaper() {
		assertTrue(testCase.getId() == 1234);
		assertTrue(testCase.getAuthor() == "Mackey");
		assertTrue(testCase.getTitle() == "The Best Paper");
		assertTrue(testCase.getFile() == "/src/papers/bestPaper.txt");

	}

	@Test
	public void testSetTitle() {
		testCase.setTitle("Wilson's Follies");
		assertTrue(testCase.getAuthor() == "Wilson's Follies");
	}

	@Test
	public void testSetAuther() {
		testCase.setAuther("Wilson");
		assertTrue(testCase.getAuthor() == "Wilson");
	}


	@Test
	public void testSetText() {
		testCase.setFile("/src/papers/bestPaper.txt");
		assertTrue(testCase.getFile() == "/src/papers/bestPaper.txt");
	}

}
